package com.wjf.birdfish.easyui;


public class DataGridArgs implements DataGridPageAction {
	private int pageIndex;
	private int pageSize;
	private String order;
	private String sorter;

	public void setPage(int pageIndex) {
		this.pageIndex = pageIndex - 1;
	}

	public void setRows(int pageSize) {
		this.pageSize = pageSize;
	}

	public void setSort(String sorter) {
		this.sorter = sorter;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public int getPageIndex() {
		return pageIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public String getSorter() {
		return sorter;
	}

	public String getOrder() {
		return order;
	}
	
}
